package org.management.system.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.management.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 功能描述
 * 角色关联资源模块
 * @author jiangyan
 * @date 2019/03/14
 * @description
 * @project management
 */
@Data
@ApiModel(value="角色关联资源")
@EqualsAndHashCode(callSuper = true)
@Table(name = "sys_role_resource")
public class RoleResourceEntity extends BaseEntity {
    /**
     * 资源ID
     */
    @Column(name = "RESOURCE_ID")
    @ApiModelProperty(value = "资源ID",name = "resourceId")
    private String resourceId;

    /**
     * 角色ID
     */
    @Column(name = "ROLE_ID")
    @ApiModelProperty(value = "角色ID",name = "roleId")
    private String roleId;
}